<?php
TImport('tour');
if($html->countUrl==1)
{
    $tourtypes      = ListTourType();    
}else
{
    TImport('location');
    $allTour    = ListTourByType($html->getId());
    if($ajax==true)
    {        
        echo showSplitPage();
        echo $allTour;
        echo showSplitPage();
        exit;
    }
}
?>